package com.poetize.plus.entity.dto.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zuosy
 * @created 2024/3/29 10:03
 */
@Data
@Schema(name = "管理页面用户分页入参")
@EqualsAndHashCode(callSuper = true)
public final class UserPageDTO extends PageParam {

    @Schema(description = "用户名搜索")
    private String username;

    @Schema(description = "邮箱搜索")
    private String email;

    @Schema(description = "用户状态搜索,true禁用,false非禁用")
    private Boolean forbidden;
}
